package com.zhouyangyang.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @PackageName: com.zhouyangyang.eureka
 * @ClassName: EurekaApplication
 * @Author: zhouyangyang
 * @Date: 2020/7/22 23:19
 * @Description:
 */
@SpringBootApplication
@EnableEurekaServer   //声明当前的工程为eureka的注册中心
public class EurekaApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaApplication.class,args);
    }
}
